<%@page import="pe.edu.upc.matrix.modelo.MUsuario"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
		<title>Sistema de compra y venta The Matrix</title>
		<link href="css/bootstrap-3.0.0.css" rel="stylesheet" media="screen">
	</head>
<body>
	<!--  Inicio menu -->
	<%@include file="menu.jsp"%>	
	<!--  Fin menu -->
	<div class="container" style="margin-top:-15px;">
		<font color="#ff1a00">
			<% 
			if(request.getSession().getAttribute("USUARIO_ACTUAL")!=null){
				MUsuario usurio = (MUsuario)request.getSession().getAttribute("USUARIO_ACTUAL");
				out.println("Bienvenido, " + usurio.getPersona().getNoPersona().toUpperCase() + " " + usurio.getPersona().getNoPaterno().toUpperCase() + " " + usurio.getPersona().getNoMaterno().toUpperCase());
			}
			%>
		</font>
		<br/>
		<div class="row">
	        <div class="col-md-8">
				<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
					<ol class="carousel-indicators">
						<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
						<li data-target="#carousel-example-generic" data-slide-to="1"></li>
					</ol>
				 	<div class="carousel-inner">
				    	<div class="item active">
				      		<img src="img/imagen1.jpg" alt="First slide">
				    	</div>
					    <div class="item">
							<img src="img/imagen2.jpg" alt="Second slide">
					    </div>
				  	</div>
					<a class="left carousel-control" href="#carousel-example-generic" data-slide="prev">
				    	<span class="glyphicon glyphicon-chevron-left"></span>
				  	</a>
				  	<a class="right carousel-control" href="#carousel-example-generic" data-slide="next">
				    	<span class="glyphicon glyphicon-chevron-right"></span>
				  	</a>
				</div>
			</div>
			<div class="col-md-4">
				<form name="busqueda" method="post" action="SGestionarPublicacion">
					<table>
						<tr><td><input id="txtParametro" name="txtParametro" type="text" class="form-control" placeholder="Publicaci&oacute;n" size="300" required></br></td></tr>
						
						<tr><td><input type="submit" class="btn btn-warning" value="Buscar publicac&oacute;n"></td></tr>
					</table>
				</form>
	       </div>
		</div>
	    <br/><br/>
		<%@include file="cuerpoprincipal.jsp" %>
		<%@include file="pie.jsp"%>			      
	</div>
	<!-- Bootstrap core JavaScript
	================================================== -->
	<!-- Placed at the end of the document so the pages load faster -->

	 <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
	<script src="js/jquery-1.10.2.js"></script>
	<!-- Include all compiled plugins (below), or include individual files as needed -->
	<script src="js/bootstrap-3.0.0.js"></script>
</body>
</html>